package website.lhc.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import website.lhc.service.UserService;

/**
 * @ProjectName: springboot
 * @Package: website.lhc.controller
 * @ClassName: UserController
 * @Author: lhc
 * @Description: TODO
 * @Date: 2020/7/14 下午 11:50
 */
@RestController
public class UserController {

    @Autowired
    private UserService userService;

    @GetMapping(value = "/get")
    public void get() {
        userService.listUser();
    }
}
